package task13;

import javafx.scene.shape.Circle;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/4/13 8:57
 * @description:
 */
public class ShapeTest {

  public static void main(String[] args) {
    //利用多态创建对象
    Shape s1=new Triangle(3.5,5);
    /*s1.output();*/

    Shape s2=new yuan(4.5);

    Manger manger=new Manger();
    manger.output(s1);
    manger.output(s2);
  }
}
